package com.xin.di.uav.common.request.order;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author LTQ
 */
@Data
public class UpdateStatusBySnRequest {

    @Schema(description = "订单号")
    @NotBlank(message = "订单号不能为空")
    private String orderSn;

    @Schema(description = "订单状态，传入想要订单更改为的状态")
    @NotNull(message = "订单状态，传入想要订单更改为的状态不能为空")
    private Integer orderStatus;

}
